curl --request GET \
--url http:///%7B{baseurl}%7D/api/v1/management/people/{personId} \
--header 'x-api-key: <x-api-key>'
{
"data": {
"attributes": {
"Init Attribute 1": "eight",
"language": "gu"
},
"createdAt": "2024-04-22T08:59:26.959Z",
"environmentId": "clurwouax000azffxt7n5unn3",
"id": "clvaq77u70002mhqfih5bnk0i",
"updatedAt": "2024-04-22T08:59:26.959Z",
"userId": "THIS-IS-A-VERY-LONG-USER-ID-FOR-TESTING"
}
}
Get a person by their internal ID on Formbricks. This internal ID can be found from the Get All Person endpoint.
curl --request GET \
--url http:///%7B{baseurl}%7D/api/v1/management/people/{personId} \
--header 'x-api-key: <x-api-key>'
{
"data": {
"attributes": {
"Init Attribute 1": "eight",
"language": "gu"
},
"createdAt": "2024-04-22T08:59:26.959Z",
"environmentId": "clurwouax000azffxt7n5unn3",
"id": "clvaq77u70002mhqfih5bnk0i",
"updatedAt": "2024-04-22T08:59:26.959Z",
"userId": "THIS-IS-A-VERY-LONG-USER-ID-FOR-TESTING"
}
}
OK
The response is of type object
.
Was this page helpful?